import org.w3c.dom.Node;

/**
 * ListItem is a wrapper class for a node.
 * @author AXXXE
 *
 */
public class ListItem {
	private String value;
	private Node node;
	private boolean isComplex;
	
	public ListItem(String value, Node n, boolean complex) {
		this.value = value;
		this.node = n;
		this.isComplex = complex;	
	}

	public ListItem(String value, Node n)	{
		this.value = value;
		this.node = n;
		this.isComplex = false;
	}

	public Node getNode() {
		return node;
	}

	public boolean isComplex()	{
		return isComplex;
	}

	public String toString()	{
		return value;
	}
}